package org.aurora.module.user.api.enums;

import org.aurora.framework.boot.common.enums.Enumerator;

/**
 * name: AccountStatus
 * <p>
 * desc: 账号状态枚举
 * </p>
 * create date: 2024-10-08 11:20:26
 *
 * @author cao.yong
 */
public enum AccountStatus implements Enumerator {
    NORMAL(0, "正常"),
    LOCKED(1, "锁定");

    private final int value;
    private final String desc;

    AccountStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
